﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x02000096 RID: 150
	internal class UInt8Int16 : IInt16Decoder
	{
		// Token: 0x06000275 RID: 629 RVA: 0x0000B5B2 File Offset: 0x000099B2
		private UInt8Int16()
		{
		}

		// Token: 0x06000276 RID: 630 RVA: 0x0000B5BA File Offset: 0x000099BA
		public short Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			return (short)bytes[offset + 1];
		}

		// Token: 0x040000B9 RID: 185
		internal static readonly IInt16Decoder Instance = new UInt8Int16();
	}
}
